<html>
<body>
	<table border=0 cellSpacing=0 cellPadding=0 width="100%">
		<tr>
			<td colspan="4" align="center"><span style='font-size: 22'>{$data["shopName"]}</span></td>
		</tr>
		<tr>
			<td width="20%"><span style='font-size: 13'>单号</span></td>
			<td colspan="3"><span style='font-size: 13'>{$data["ref"]}</span></td>
		</tr>
		<tr>
			<td width="20%"><span style='font-size: 13'>客户</span></td>
			<td colspan="3"><span style='font-size: 13'>{$data["customerName"]}</span></td>
		</tr>
	</table>
	<table border=1 cellSpacing=0 cellPadding=1 width="100%"
		style="border-collapse: collapse" bordercolor="#333333">
		<tr>
			<td width="40%"><div align="center" style='font-size: 13'>品名</div></td>
			<td width="20%"><div align="center" style='font-size: 13'>数量</div></td>
			<td width="20%"><div align="center" style='font-size: 13'>单价</div></td>
			<td width="20%"><div align="center" style='font-size: 13'>金额</div></td>
		</tr>
		<foreach name="data['items']" item="v" key="i">
		<tr>
			<td width="40%"><span style='font-size: 13'>{$v["goodsName"]}</span></td>
			<td width="20%"><div align="center" style='font-size: 13'>{$v["goodsCount"]}</div></td>
			<td width="20%"><div align="right" style='font-size: 13'>{$v["goodsPrice"]}</div></td>
			<td width="20%"><div align="right" style='font-size: 13'>{$v["goodsMoney"]}</div></td>
		</tr>
		</foreach>
		<tr>
			<td width="40%"><div align="center" style='font-size: 13'>合计</div></td>
			<td width="20%"><div align="center" style='font-size: 22'>{$data["totalCount"]}</div></td>
			<td width="20%"><span style='font-size: 13'></span></td>
			<td width="20%"><span style='font-size: 22'>{$data["saleMoney"]}</span></td>
		</tr>
	</table>
	<table>
		<tr>
			<td width="20%"><span style='font-size: 13'>收款</span></td>
			<td width="30%"><span style='font-size: 22'>{$data["totalPay"]}</span></td>
			<td width="20%"><span style='font-size: 13'>找零</span></td>
			<td width="30%"><span style='font-size: 22'>{$data["returnMoney"]}</span></td>
		</tr>
		<tr>
			<td width="20%"><span style='font-size: 13'>收银</span></td>
			<td colspan="3"><span style='font-size: 13'>{$data["bizUserName"]}</span></td>
		</tr>
		<tr>
			<td width="20%"><span style='font-size: 13'>库房</span></td>
			<td colspan="3"><span style='font-size: 13'>{$data["warehouseName"]}</span></td>
		</tr>
		<tr>
			<td colspan="4"><span style='font-size: 13'>打印时间 :
					{$data["printDT"]}</span></td>
		</tr>
	</table>
</body>
</html>